//
//  JHJMVCellTableViewCell.m
//  DayByDay
//
//  Created by dllo on 16/5/24.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "JHJMVCellTableViewCell.h"
#import <UIImageView+WebCache.h>

@interface JHJMVCellTableViewCell ()
@property (strong, nonatomic) IBOutlet UIImageView *imageV;
@property (strong, nonatomic) IBOutlet UILabel *nameLabel;
@property (strong, nonatomic) IBOutlet UILabel *singerName;
@property (strong, nonatomic) IBOutlet UILabel *countLabel;
@property (strong, nonatomic) IBOutlet UILabel *commentLabel;
@property (strong, nonatomic) IBOutlet UILabel *timeLabel;

@end

@implementation JHJMVCellTableViewCell

- (void)setModel:(CellMVModel *)model {
    self.timeLabel.hidden = YES;
    _model = model;
    [self.imageV sd_setImageWithURL:[NSURL URLWithString:_model.picUrl]];
    self.nameLabel.text = _model.videoName;
    self.singerName.text = _model.singerName;
    self.countLabel.text = [_model.pickCount stringValue];
    self.commentLabel.text = [_model.praiseCount stringValue];

}
- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
